﻿// Decompiled with JetBrains decompiler
// Type: Netick.Unity.SceneInfo
// Assembly: Netick.Unity, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E128C7FD-39ED-4452-86AC-6EC748457030
// Assembly location: D:\WorkSpaceDemo\UPM\NetickForUnity\Netick\Runtime\Netick.Unity.dll
// XML documentation location: D:\WorkSpaceDemo\UPM\NetickForUnity\Netick\Runtime\Netick.Unity.xml

using UnityEngine.SceneManagement;

#nullable disable
namespace Netick.Unity;

internal struct SceneInfo
{
  public int LoadId;
  public int SceneIndex;
  private int _LocalPhysicsMode;
  public NetworkBool HasServerFinished;

  public LocalPhysicsMode LocalPhysicsMode
  {
    get => (LocalPhysicsMode) this._LocalPhysicsMode;
    set => this._LocalPhysicsMode = (int) value;
  }

  public static SceneInfo GetInvalid()
  {
    return new SceneInfo()
    {
      LoadId = -1,
      SceneIndex = -1,
      LocalPhysicsMode = LocalPhysicsMode.None,
      HasServerFinished = (NetworkBool) false
    };
  }
}
